﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DBSchemaManager.Core
{
    public static class Shared
    {

        public static string CleanString(string inString)
        {
            Encoding encoder = ASCIIEncoding.GetEncoding("us-ascii", new EncoderReplacementFallback(" "), new DecoderExceptionFallback());
            byte[] bAsciiString = encoder.GetBytes(inString);
            return ASCIIEncoding.ASCII.GetString(bAsciiString);
        }

    }
}
